home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / libs / shutdown.lha / shutdown_5.3 / src / makefile < prev    next >
Encoding:
Makefile  |  1998-09-12  |  434 b   |  22 lines

  1.  
  2. SHUTDOWN_OBJS = shutdown.o unmount.o
  3. INCLUDE = -Ishutdown_lib
  4. CFLAGS = -noixemul -O2 -fbaserel -msmall-code -fomit-frame-pointer $(INCLUDE)
  5.  
  6. all: shutdown sdwarn
  7.  
  8. .c.o:
  9.       gcc $(CFLAGS) $*.c -c -o $*.o
  10.  
  11. shutdown: $(SHUTDOWN_OBJS)
  12.       gcc $(CFLAGS) $(SHUTDOWN_OBJS) -o shutdown
  13.  
  14. sdwarn:   sdwarn.c
  15.       gcc $(CFLAGS) sdwarn.c -o sdwarn
  16.  
  17. testfs:   testfs.c
  18.       gcc $(CFLAGS) testfs.c -o testfs
  19.  
  20. clean:
  21.     delete \#?.o shutdown sdwarn testfs
  22.